- 
		Home
	
 
	- 
Woody code snippets – Insert Header Footer Code, AdSense Ads
 
- 
2.5.1
 
- 
Code
 
- 
Classes
 
-  Migrations 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											86 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											511 | 
										
																			
											| Lines of code | 
											270 | 
										
																			
											| Logical lines of code | 
											164 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											147 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| make_migration() | 
									A  | 
																	44 | 
													12 | 
													45 | 
							
					
				| find_file_or_folders() | 
									A  | 
																	52 | 
													11 | 
													23 | 
							
					
				| get_classes() | 
									A  | 
																	51 | 
													9 | 
													23 | 
							
					
				| get_old_plugin_version() | 
									A  | 
																	53 | 
													8 | 
													23 | 
							
					
				| check_migrations() | 
									S  | 
																	59 | 
													7 | 
													15 | 
							
					
				| update_plugin_version_in_db() | 
									S  | 
																	54 | 
													6 | 
													23 | 
							
					
				| migration_error_notice() | 
									S  | 
																	51 | 
													5 | 
													24 | 
							
					
				| debug_bar_notice() | 
									S  | 
																	51 | 
													5 | 
													22 | 
							
					
				| get_version_number() | 
									S  | 
																	61 | 
													5 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	59 | 
													3 | 
													13 | 
							
					
				| activation_hook() | 
									S  | 
																	62 | 
													3 | 
													12 | 
							
					
				| get_plugin_activated_time() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| is_debug() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| need_migration() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| is_migration_error() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| fix_migration_error() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| get_current_plugin_version() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| find_files() | 
									S  | 
																	79 | 
													1 | 
													3 |